getLabel ( class in module OverlayCapableJsPlumbUIComponent )

Description

Returns the label text for this Connection (or a function if you are labelling with a function). This does not return the overlay itself; this is a convenience method which is a pair with ; together they allow you to add and access a Label Overlay without having to create the Overlay object itself. For access to the underlying label overlay that jsPlumb has created, use getLabelOverlay .

See Also: